﻿@model YOYO.HRMS.Web.Models.TestModel

@{
    ViewBag.Title = "Test";
}

<h2>Test</h2>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@Html.ValidationSummary(true)

@using (Html.BeginForm())
{
    <div>
        <div class="editor-label">
            @Html.LabelFor(m => m.CorporateID)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(m => m.CorporateID)
             @Html.ValidationMessageFor(m => m.CorporateID)
        </div>
        <div class="editor-label">
            @Html.LabelFor(m => m.EmployeeNo)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(m => m.EmployeeNo)
            @Html.ValidationMessageFor(m => m.EmployeeNo)
        </div>
    </div>
    <p>
        <input type="submit" value="登录" />
    </p>
    
}